Chat

This applet allows your visitors to chat. It displays a button, when you click this button the chat window appears. You have to choose a nickname to connect to the chat. Then you chat with the other visitors. There are a few commands such as "/beep nick" which beeps nick's computer, "/priv nick" which sends a private message to nick or "/topic topic" which changes the title of the frame to topic... Launch the applet and type /help for commands help.
If you are a registered user you can email us and ask for the sources of the applet and the server.
How does this applet work ? When you enter the chat and choose a nick the applet connects to the chat server running on your web host machine. This server is a small Java program so it can run on any platform. The server communicates with all the chat applets.
Important note:   As you can see you need to have an access to the computer hosting the web server so that you can make the server running.

How to launch the server ?
- All platforms: you need a Java Runtime Environment to run a Java program: JDK1.1 or higher, JRE 1.1 or higher, J2SDK, J2SE, J2EE ... If you don't have such a tool then you can download one (J2SDK for instance) at http://www.java.sun.com.
Open a command window, change directory to the directory containing the server classes (f you have installed Easy Applet Builder on Windows, default is "C:\program files\Taijisoftware\Easy Applet Builder\samples\Chat\server", if you have installed Taiji Aplet Pack then go the "Chat\server").
Launch the server : java FriendsServer
The default port number is 5554, that is to say the server is listenning on this port. You can set another port by using : java FriendsServer portnumber. If you change the server port you have to change also the applet port parameter.
- Windows 98/ME/NT/2000: You can use the Java runtime environment of Windows. Proceed as described above, but type :
jview FriendsServer
or : jview FriendsServer portnumber to set the port yourself.
How to stop the server ?
Kill it with :
- Control+C keys in the command window
- The windows task manager
- A kill -x command
...
Note: Once the server is stopped (after a kill or machine reboot) you need to start it again. If no server is running and if a visitor try to connect the chat then he/she will see a message : "can't connect to..."

Button text :   The button text.
Button width :   The button width.
Button height :   The button height.
Button color :   The button color.
Server port :   The port number of the server.
Frame title :   The title of the chat window.
Start message :   The button color.
Allow /beep command :   Allow the /beep command.
Allow /priv command :   Allow the /priv command.
Allow /whois command :   Allow the /whois command.
Allow /topic command :   Allow the /topic command.
Display time stamps :   This message is displayed in the chat window when the applet starts.